#ifndef _SHELL_PLAYERBUFFERBEAN_BEAN_H_
#define _SHELL_PLAYERBUFFERBEAN_BEAN_H_

#include "Beans.h"
#include "Message.h"
using namespace std;
class PlayerBufferBean : public Bean
{
	public:
	PlayerBufferBean();
	~PlayerBufferBean();
	void reset();
	PlayerBufferBean* clone();
	//buffer的唯一id
	int64 buffId;
	//bufId配置id
	int32 sid;
	//剩余时间(秒)
	int32 shengyuTime;
	
	bool read_from(ByteBuf& buf);
	bool write_to(ByteBuf& buf);
};

#endif
